@echo off
cd ..
cd db
%CD%\..\7z\7za.exe a -r %CD%\backup\floreo-data-%DATE:~6,4%%DATE:~3,2%%DATE:~0,2%-%TIME:~0,2%%TIME:~3,2%%TIME:~6,2%.7z %CD%\data
set CLASSPATH=%CD%\lib\derby.jar;%CD%\lib\derbynet.jar
start /b java -cp %CLASSPATH% org.apache.derby.drda.NetworkServerControl start -h localhost -p 1527
cd ..
java -jar %CD%\floreo-${project.version}.jar